76a1a4bb70ec1f362d3aa5d18a9c3a521096b757,core/src/main/java/com/netflix/conductor/core/execution/DeciderService.java,DeciderService,getTaskInputV2,#Map#Workflow#String#TaskDef#,751
Before Change
@SuppressWarnings({ "rawtypes", "unchecked" })
private Map<String, Object> getTaskInputV2(Map input, Workflow workflow, String taskId, TaskDef taskDef) {
Map<String, Object> inputParams = new HashMap<>();
inputParams.putAll(input);
if(taskDef != null && taskDef.getInputTemplate() != null) {
inputParams.putAll(taskDef.getInputTemplate());
}
After Change
@SuppressWarnings({ "rawtypes", "unchecked" })
private Map<String, Object> getTaskInputV2(Map input, Workflow workflow, String taskId, TaskDef taskDef) {
Map<String, Object> inputParams = new HashMap<>();
if(input != null) {
inputParams.putAll(input);
}
if(taskDef != null && taskDef.getInputTemplate() != null) {
inputParams.putAll(taskDef.getInputTemplate());